home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / dc.prerm < prev    next >
Encoding:
Text File  |  2007-03-05  |  736 b   |  35 lines

  1. #! /bin/sh
  2. #
  3. # This is the prerm script for the Debian GNU/Linux dc package
  4. #
  5. # Written by Dirk Eddelbuettel <edd@debian.org>   
  6. # Previous versions written by Bill Mitchell, Austin Donnelly and James Troup
  7.  
  8. set -e
  9.  
  10. # Automatically added by dh_installdocs
  11. if [ "$1" = remove ] || [ "$1" = upgrade ] && \
  12.    which install-docs >/dev/null 2>&1; then
  13.     install-docs -r dc
  14. fi
  15. # End automatically added section
  16.  
  17.  
  18. case "$1" in
  19.     remove|upgrade|remove-in-favour|deconfigure-in-favour)
  20.     #
  21.         install-info --quiet --remove dc
  22.         #
  23. #         if command -v install-docs >/dev/null 2>&1 
  24. #     then
  25. #         install-docs -r dc
  26. #         fi
  27.     ;;
  28.     failed-upgrade)
  29.         ;;
  30.     *)
  31.     echo "prerm called with unknown argument \`$1'" >&2
  32.     ;;
  33.  
  34. esac
  35.